#include <stdio.h>
typedef struct person {
	int age;
	float height;
	char name[10];
} sperson;
int main() {
	struct person prsn1 = {19, 1.75f, "tom"};
	sperson prsn2 = {18, 1.65f, "jerry"};
	struct person *p_prsn1 = &prsn1;
	sperson *p_prsn2 = &prsn2;
	printf("%s的年龄是%d\n", prsn1.name, prsn1.age);
	printf("%s的身高是%g\n", prsn2.name, prsn2.height);
	printf("%s的年龄是%d\n", p_prsn1->name, p_prsn1->age);
	printf("%s的身高是%g\n", p_prsn2->name, p_prsn2->height);
	return 0;
}
